Table of contents Home page
Execute this code
// encodeURIComponent() differs from the similar function encodeURI() in that it also // encodes ":" (colon), "/" (slash) and "+" (plus sign). alert("Encoded string: " + encodeURIComponent("The value is 3/4."))